package com.gome.axwl.aoc.dao;

import com.gome.axwl.aoc.entity.po.DataDictionaryItemPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataDictionaryItemDao {
    int deleteByPrimaryKey(Integer id);

    int insert(DataDictionaryItemPo record);

    int insertSelective(DataDictionaryItemPo record);

    DataDictionaryItemPo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DataDictionaryItemPo record);

    int updateByPrimaryKey(DataDictionaryItemPo record);

    /**
     * 根据字典类型编码查询字典明细列表
     * @param typeCode
     * @author yinyuxin@gome.com.cn
     * @return
     */
    List<DataDictionaryItemPo> queryItemListByTypeCode(@Param("typeCode") String typeCode);
}